
import axios, {Axios} from 'axios'
const context = "/ucenter"

/**
 * 获取 TmsStore 分页列表
*/
export function getTmsStorePagination(data: any) {
  return axios.get(`${context}/tmsStore/pagination`, { params: data });
}


/**
 * 获取 TmsStore 所有数据
*/
export function getTmsStoreAllList(data: any) {
  return axios.get(`${context}/tmsStore/all`, { params: data });
}


/**
 * 获取 TmsStore 详情
*/
export function getTmsStoreDetailById(id: any) {
  return axios.get(`${context}/tmsStore/${id}`, { params:{id} });
}


/**
 * 新增 TmsStore
*/
export function addTmsStore(data: any) {
  return axios.post(`${context}/tmsStore`, data);
}

/**
 * 修改 TmsStore
*/
export function updateTmsStore(data: any) {
  return axios.put(`${context}/tmsStore`, data);
}

/**
 * 删除 TmsStore
*/
export function batchRemoveTmsStore(data: any) {
  return axios.post(`${context}/tmsStore/batchRemove`, data);
}

    